package com.fu.reflect2;

import java.lang.reflect.Field;

/**
 * @author 付大大
 * @description
 * @create 2021-01-17 12:56
 */
public class Test {
    public static void main(String[] args) throws ClassNotFoundException {
//        method();



    }

    private static void method() throws ClassNotFoundException {
        Class<?> aClass = Class.forName("com.fu.reflect2.Student");
        Field[] fields = aClass.getDeclaredFields();
        for (Field field : fields) {
            System.out.println(field);
        }
    }
}
